#ifndef __SOUND_TOUCH_H__
#define __SOUND_TOUCH_H__
#include "base.h"
#include "SoundTouch.h"
#include "voice.h"
class STouch
{
private:
	int m_nScale;
	int m_nSamples;
	soundtouch::SoundTouch m_SoundTouch;

public:
	explicit STouch(int scale = 100, int samples = 44100);
	~STouch();
	void SetParam(int ,int, int);
	bool NeedST();
	void STouchPush(DataPacket*);
	int STouchPull(DataPacket*);
};
#endif
